package com.go.where.manager.service;

import java.util.List;

import com.go.where.manager.page.Pagination;
import com.go.where.manager.pojo.TeacherInfo;
import com.go.where.manager.pojo.user.UserInfoVO;

/**
 * 教师信息Service
 * 
 * @author java
 * 
 */
public interface TeacherService {

	/**
	 * 根据主键id查询信息
	 * 
	 * @param id
	 * @return
	 */
	public TeacherInfo queryByPrimartKey(String id);

	/**
	 * 分页查询
	 * 
	 * @param teacherInfo
	 * @return
	 */
	public Pagination<TeacherInfo> queryPage(TeacherInfo teacherInfo);

	/**
	 * 修改信息
	 * 
	 * @param videoInfo
	 * @param currentUser
	 * 
	 * @return
	 */
	public int update(TeacherInfo teacherInfo, UserInfoVO currentUser);

	/**
	 * 保存信息
	 * 
	 * @param videoInfo
	 * @param currentUser
	 * 
	 * @return
	 */
	public int save(TeacherInfo teacherInfo, UserInfoVO currentUser);

	/**
	 * 查询所有教师信息
	 * 
	 * @return
	 */
	public List<TeacherInfo> queryAll();

}
